Skip to content

docs: port ranges, OpenSearch default image, quick-start fixes, MWAA index row, parity TODOs - #2690

Open
sam-fakhreddine wants to merge 11 commits into
floci-io:mainfrom
sam-fakhreddine:feature/docs
Open

docs: port ranges, OpenSearch default image, quick-start fixes, MWAA index row, parity TODOs#2690
sam-fakhreddine wants to merge 11 commits into
floci-io:mainfrom
sam-fakhreddine:feature/docs

Conversation

@sam-fakhreddine

@sam-fakhreddine sam-fakhreddine commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Six small, independent documentation fixes, batched into one PR to avoid opening six near-trivial PRs:

  • Ports reference: document the MemoryDB, Neptune, and MWAA in-Floci proxy port ranges in docs/configuration/ports.md, which previously only covered ElastiCache and RDS.
  • Ports reference wording: drop the "TCP" qualifier from the in-Floci proxy description — the proxy is protocol-agnostic (it also fronts the MWAA HTTP proxy), so calling it a "TCP proxy" was inaccurate.
  • OpenSearch default image: FLOCI_SERVICES_OPENSEARCH_DEFAULT_IMAGE is unset by default (images resolve per requested EngineVersion, see OpenSearchDomainManager.java:151 / EmulatorConfig.java:1045, Optional<String> defaultImage()), but README.md and docs/configuration/environment-variables.md both documented a fixed default image string. Corrected both.
  • Quick-start guide: fixed the wrong ECR registry port and a reference to an undefined $AWS_ENDPOINT variable (the guide defines $AWS_ENDPOINT_URL earlier but the ECR section used the wrong name).
  • Services index: added a missing MWAA row to the per-service operation-count table in docs/services/index.md (MWAA has had a service page and nav entry since it shipped but was never added to this specific table), and dropped a duplicate CloudTrail nav entry from mkdocs.yml.
  • Parity tracking: added docs/service-api-parity-todos.md, consolidating scattered service API parity TODOs into one tracked document. This doc links to four investigation/epic files that existed on an unmerged branch but not on any docs branch — restoring them was needed to avoid shipping broken links: three general project docs (docs/services/codebuild-local-agent-investigation-epic.md, docs/services/codepipeline-v2-epic.md, docs/services/network-data-plane-investigation-epic.md) and one issue-tracking doc (issues/0009-epic-account-region-scoping-audit.md, rewritten to drop references to tooling that doesn't exist in this repo and read as a project-facing bug-pattern writeup instead of private notes).

All content was verified as still current against upstream/main before pushing — this is a docs-only branch that had drifted since being cut, so it was rebased onto current upstream/main first, and each fix was re-checked against the current code/docs state rather than assumed still applicable.

Deliberate scope notes

  • This branch supersedes an earlier, more stale push of the same PR-slot branch (feature/docs, previously at a base ~128 commits behind current main). That earlier push contained 4 of these 6 commits (same fixes, different SHAs after rebase); the 2 newest commits (MWAA operations-table row + parity-todos consolidation) were not yet present there. No open PR existed against that branch, so it was force-updated in place rather than opened as a second competing PR.
  • Docs-only change: no .java files touched, so the wire-fidelity extractor and local code-review steps in the PR-maintenance runbook do not apply.

Type of change

  • Documentation

AWS Compatibility

  • N/A — no behavioral or API changes.

Checklist

…xy port ranges

(cherry picked from commit 8424039361a5f280d4fa04aba527f22787411d17)
…DPOINT variable

(cherry picked from commit efee53d0e044b8ea2200e3df6d4794a1bb89856f)
…ault

(cherry picked from commit 8372880983fd7a4803d78f8e9d8389c0177d7f3e)
…iption

The MWAA webserver proxy listed in the same section forwards HTTP, so
describing every in-Floci proxy as a TCP proxy is inaccurate.

(cherry picked from commit e362f4c5e928f1775f3530d4cd5f6c6afbe5395a)
…il nav entry

MWAA has had a page and nav entry since it shipped but was never added
to the services table. Separately, mkdocs.yml listed CloudTrail twice
in the nav.
Copilot AI lite review requested due to automatic review settings August 28, 2026 22:12
@greptile-apps

greptile-apps Bot commented Aug 28, 2026

Copy link
Copy Markdown

Greptile Summary

This documentation-only PR corrects port, endpoint-variable, and OpenSearch-default guidance while adding consolidated API-parity planning material.

  • Documents the MemoryDB, Neptune, and MWAA proxy ranges and corrects Lambda/ECR port guidance.
  • Clarifies that the OpenSearch default image is unset and resolved from the requested engine version.
  • Adds parity and investigation documents and cleans up the service navigation.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
docs/configuration/ports.md Documents additional proxy ranges and now consistently identifies 12000–12499 as the active Lambda Runtime API range.
docs/getting-started/quick-start.md Corrects the ECR endpoint variable and registry port, and removes obsolete firewall ranges.
docs/service-api-parity-todos.md Adds a consolidated, evidence-oriented backlog for service API parity work.
docs/configuration/environment-variables.md Correctly documents the OpenSearch image override as unset by default.
README.md Aligns the OpenSearch default-image table with version-based image resolution.
mkdocs.yml Removes the duplicate CloudTrail navigation entry while retaining the canonical service link.

Reviews (6): Last reviewed commit: "docs(parity-todos): drop unreachable bra..." | Re-trigger Greptile

Comment thread docs/configuration/ports.md Outdated
Comment thread docs/getting-started/quick-start.md Outdated
Comment thread docs/services/index.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR batches several documentation corrections across Floci’s user/docs site: port-range references, environment variable defaults, quick-start commands, MkDocs navigation, and a new parity TODO inventory.

Changes:

  • Updates port-range documentation (adds MemoryDB/Neptune/MWAA proxies; adjusts proxy wording) and quick-start examples (ECR endpoint var + registry port).
  • Corrects OpenSearch default-image documentation to reflect that FLOCI_SERVICES_OPENSEARCH_DEFAULT_IMAGE is unset by default and resolved per EngineVersion.
  • Adds MWAA to the services index table, removes a duplicate CloudTrail nav entry, and introduces a consolidated parity TODO document.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Updates documented default for FLOCI_SERVICES_OPENSEARCH_DEFAULT_IMAGE to “unset” behavior.
mkdocs.yml Removes a duplicate CloudTrail navigation entry.
docs/services/index.md Adds MWAA to the services operation-count table.
docs/service-api-parity-todos.md New consolidated parity/TODO inventory document.
docs/getting-started/quick-start.md Fixes ECR quick-start commands and adds tighter UFW examples.
docs/configuration/ports.md Expands the port-range reference to cover more proxy services and adjusts proxy wording.
docs/configuration/environment-variables.md Corrects OpenSearch default-image documentation to match “unset” behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/getting-started/quick-start.md Outdated
Comment thread docs/configuration/ports.md
Comment thread docs/service-api-parity-todos.md Outdated
…docs

Address PR floci-io#2690 review findings (Greptile/Copilot):

- docs/configuration/ports.md and docs/getting-started/quick-start.md
  still listed the retired Lambda Runtime API range (9200-9299) and a
  never-valid ECR range (5000-5099) alongside the current 12000-12499
  and 5100-5199 ranges. Drop the stale entries.
- docs/services/index.md had a duplicate MWAA row (added by
  9a8a6e5) with a conflicting endpoint description; the service
  matrix already carried MWAA. Remove the duplicate; verified via
  `make docs-sync` that no other tables are stale.
- docs/service-api-parity-todos.md links to four investigation epic
  docs (issues/0009, codebuild-local-agent, codepipeline-v2,
  network-data-plane) that existed on throwaway/rebase-onto-upstream
  but were never merged into any docs branch. Restore them from that
  branch so the links resolve instead of stripping the references.

@pgermosen pgermosen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The six described fixes check out — I spot-checked the OpenSearch default-image claim directly against EmulatorConfig.java (the field really is an unannotated Optional, no fixed default, confirming the doc correction) and confirmed the port-range and duplicate-MWAA-row bot findings are resolved.

Before going further though, the PR summary describes six small fixes, but the diff also includes four larger files — three multi-hundred-line investigation/architecture documents and one issue-tracking doc — that aren't mentioned anywhere in the description. I see from the thread that these were restored from another branch specifically to fix broken links a new file introduced, so I understand how they got here. Three of the four (the CodeBuild local-agent, CodePipeline V2, and network-data-plane investigation docs) read as legitimate, general project documentation — decision frameworks written for the project rather than for one person — so I don't have a content objection to them, just a visibility one: a reviewer relying on the summary alone would have no idea they're part of this PR at all.

The fourth one, the account+region-scoping audit issue doc, is a different case worth a closer look. It references a workflow script, a specific automation tool, and a particular subagent/model orchestration setup, none of which exist anywhere in this repository, and its own decision log reads in the voice of one person's private working notes rather than something another contributor could pick up and act on. The underlying technical concern it describes, ambient account or region resolution being used in place of an already-known explicit value, sounds like a genuinely worthwhile thing to track for this project. But as written, nobody besides the author can act on the file, since the tooling it references doesn't exist here. Would you be open to either rewriting that one as a project-facing issue describing just the bug pattern and the affected files, or letting me know if there's a reason it should stay as-is?

sam-fakhreddine added a commit to sam-fakhreddine/floci that referenced this pull request Aug 29, 2026
…s tooling refs

pgermosen (PR floci-io#2690 review) flagged that this file referenced a workflow
script, a subagent/model orchestration setup, and a shell script under
scripts/static-checks/ that don't exist anywhere in this repo, and read
like one person's private working notes rather than something another
contributor could act on.

Rewrite it to describe the underlying bug pattern (ambient
account/region resolution used in place of an already-resolved explicit
value), cite the three confirmed fixes by commit SHA instead of
nonexistent issue file paths, and replace the proprietary detection
tooling with a plain shell one-liner any contributor can run. The
candidate file list, service-domain scope, and the AWS global-services
exclusion list are unchanged.
@sam-fakhreddine

Copy link
Copy Markdown
Contributor Author

Thanks for the close look, and for spot-checking the OpenSearch claim against EmulatorConfig.java directly.

On visibility: you're right that the summary didn't mention the four restored files. Updated the PR description to call out that docs/service-api-parity-todos.md links to them and why they needed restoring (broken-link avoidance, not scope creep) — no content changes to the three general architecture docs (CodeBuild local-agent, CodePipeline V2, network-data-plane epics), they read fine as-is.

On the fourth file, issues/0009-epic-account-region-scoping-audit.md: agreed completely, it referenced a workflow script, a subagent/model orchestration setup, and a scripts/static-checks/ shell script that don't exist in this repo, and the decision log was written for one person rather than the project. Rewrote it in 483747e65 to keep the useful part — the bug pattern (ambient account/region resolution used in place of an already-resolved explicit value), the three confirmed fixes cited by commit SHA instead of nonexistent issue paths, the candidate file/service-domain scope, and the AWS global-services exclusion list — and dropped everything that assumed tooling or context outside this repo. The detection method is now a plain shell one-liner (search plus an async-boundary cross-reference) any contributor can run directly.

Pushed as 483747e65 on top of b3b32b3d6. make docs-check still passes clean.

…s tooling refs

pgermosen (PR floci-io#2690 review) flagged that this file referenced a workflow
script, a subagent/model orchestration setup, and a shell script under
scripts/static-checks/ that don't exist anywhere in this repo, and read
like one person's private working notes rather than something another
contributor could act on.

Rewrite it to describe the underlying bug pattern (ambient
account/region resolution used in place of an already-resolved explicit
value), cite the three confirmed fixes by commit SHA instead of
nonexistent issue file paths, and replace the proprietary detection
tooling with a plain shell one-liner any contributor can run. The
candidate file list, service-domain scope, and the AWS global-services
exclusion list are unchanged.
@hectorvent

Copy link
Copy Markdown
Collaborator

Thanks for the careful batch, and for the issues/0009 rewrite. The project-facing version is a real improvement, and I checked the port and image claims against the current config, they all hold up.

(blocking) The problem you fixed inside issues/0009 is still present one file over. In docs/service-api-parity-todos.md, PAR-001 tells the reader to run sh scripts/static-checks/find-ambient-account-region-candidates.sh, which does not exist in this repository, and the rollup table cites branches and SHAs such as feature/kms-grant-fidelity / 0b8724a8 that live only on your fork. Could that doc get the same treatment 0009 got?

(blocking) Could you also drop issues/0009-epic-account-region-scoping-audit.md from this PR? It is the one part that adds to a top-level issues/ tree, and PAR-001 links to it, so the tidiest version is to inline the few lines you actually need into the parity doc and let the link go.

(follow-up, separate PR) Whenever suits you, would you mind a small PR retiring issues/ and scripts/ altogether? Between #2680 and #2655 they hold one file each, and top-level directories are a shared namespace, so I would rather keep planning notes out of it. local/ is already gitignored for exactly this, so notes and helper scripts can live there with no repo footprint, and bin/ stays the home for anything meant to ship.

None of this is a comment on the content, which is genuinely useful. Happy to look again once the first two land.

@hectorvent hectorvent added waiting-contributor and removed waiting-maintainer Contributor has replied; waiting on a maintainer response labels Aug 30, 2026
@hectorvent hectorvent self-assigned this Aug 30, 2026
… path

PAR-001 pointed at a script that does not exist in this repository and at
issues/0009, which only made sense inside a top-level issues/ tree this PR
should not be adding. Inlined the candidate-search command directly and
dropped the file. The completed-work rollup table cited fork-only branch
names and short SHAs that are not resolvable outside this fork; dropped
that column, keeping the area and required close-out.
… path

PAR-001 pointed at a script that does not exist in this repository and at
issues/0009, which only made sense inside a top-level issues/ tree this PR
should not be adding. Inlined the candidate-search command directly. The
completed-work rollup table cited fork-only branch names and short SHAs
that are not resolvable outside this fork; dropped that column, keeping
the area and required close-out.
@sam-fakhreddine

Copy link
Copy Markdown
Contributor Author

Fixed in 94b621d — PAR-001 no longer points at the nonexistent script; the candidate-search command is inlined directly in the row. issues/0009-epic-account-region-scoping-audit.md is dropped from this PR entirely (its content is now inline in PAR-001, nothing lost). The completed-work rollup table's Branch/commit column (which cited fork-only branch names and short SHAs) is dropped — kept Area and Required close-out only. make docs-check passes.

On the follow-up: happy to send a small PR retiring top-level issues/ and scripts/ in favor of local/, once this one's in — will queue it separately rather than fold it in here.

@hectorvent

Copy link
Copy Markdown
Collaborator

Thank you for turning that around so quickly, and sorry for asking in two rounds rather than one.

Checking at your latest commit: issues/0009 is gone, the phantom scripts/static-checks/... command is gone, and you also removed the parity doc's link to 0009 so nothing dangles. That last one was the part I was most worried about, so thank you for catching it.

(blocking, small) One row survived the sweep. In docs/service-api-parity-todos.md, PAR-002 still points at "Branch feature/lza-cloudformation-idempotency commit 13687fee", which no one else can reach.

(the remaining ask) Would you consider moving service-api-parity-todos.md and the three *-epic.md files to local/ as well? Together they are about 900 lines, none of them are in the mkdocs nav, and the only links to the epics come from the parity doc itself, so they would publish as unlinked pages that nothing keeps current. local/ is gitignored, so they stay just as useful to you with no repo footprint.

The six documentation fixes underneath all this are good and I would merge them today.

@sam-fakhreddine

Copy link
Copy Markdown
Contributor Author

Fixed in ab183a3 — PAR-002 no longer names a fork-only branch/commit; it now describes the implemented state directly, matching the treatment PAR-001's neighbor row already got.

On moving service-api-parity-todos.md and the three *-epic.md files to local/: I'd like to fold that into the same follow-up PR retiring top-level issues//scripts/ rather than doing it here, since it's the same underlying cleanup and keeps this PR to the six doc fixes you said you'd merge today. Let me know if you'd rather see it done now instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation opensearch Amazon OpenSearch Service waiting-contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants